package com.atmc.service;

import com.atmc.entity.Authority;
import com.atmc.entity.Authority;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface AuthorityService {
    List<Authority> selectAuthority(Long userId);
    int insertOne(Authority authority);
    Authority selectOne(@Param("authorId") Long authorId);
}
